home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-20
/
rs0422.zip
/
CONFIGUR
/
ZAPIT.LST
< prev
next >
Wrap
File List
|
1990-01-14
|
3KB
|
62 lines
HI-TECH SOFTWARE Z80 Macro Assembler: zapit.as
Page 1
1 global _config ; This is a modified version of Booter.C
2 0000' psect data
3 0000' _config:
4 0000' 84 defb -124
5 0001' 9E defb -98
6 0002' 9E defb -98
7 0003' A8 defb -88
8 0004' 40 defb 64
9 0005' 40 defb 64
10 0006' 00 defb 0
11 global _die
12 0007' 0000' defw _die
13 0009' 0000' defw _die
14 000B' 0000' defw _die
15 000D' 0000' defw _die
16 000F' 0000' defw _die
17 0011' 0000' defw _die
18 0013' 0000' defw _die
19 0015' 0017' defw 19f
20 0000' psect text
21 0000' _die:
22 0000' F3 DI ; NO INTS!!!
23 0001' 2A 0015' LD HL,(VY) ; Get a LDIR Instruction
24 0004' 22 FFFE LD (0FFFEh),HL ; Put it at the location just before 0000
25 0007' 21 8000 LD HL,8000h ; Source
26 000A' 11 8001 LD DE,8001h ; Destination
27 000D' 01 7FFC LD BC,7FFCh ; Length
28 0010' 36 00 LD (HL),0 ; Value to Fill with
29 0012' C3 FFFE JP 0FFFEh ; Die you bastard!!!
30 0015' ED B0 VY: LDIR ; This must be at the LAST location we clear
31 0017' psect data
32 0017' 19:
33 0017' 42 4F 4F 54 defb 66,79,79,84,32,45,32,82,79,83,69,32,66,79,79,84
001B' 20 2D 20 52
001F' 4F 53 45 20
0023' 42 4F 4F 54
34 0027' 20 50 72 6F defb 32,80,114,111,103,114,97,109,32,45,32,75,101,101,112,32
002B' 67 72 61 6D
002F' 20 2D 20 4B
0033' 65 65 70 20
35 0037' 4F 75 74 0D defb 79,117,116,13,0
003B' 00
36 0017' psect text
HI-TECH SOFTWARE Z80 Macro Assembler:
Page 2
---------- Symbol Table ----------
(ABS) 0000# VY 0015' _config 0000' _die 0000' data 003C# text 0017#
0 jump optimizations